package ide.ccf.ccdesigner.views;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;
import ide.ccf.ccdesigner.views.embedded.ActionEditorW;

/**
 * 动作编辑器视图
 *
 */
public class ActionEditorView extends ViewPart 
{
    private ActionEditorW actioneditor;

    /**
     * 创建Part控制
     */
    public void createPartControl(Composite parent) 
    {
        actioneditor = new ActionEditorW(parent, SWT.EMBEDDED);
    }

    /**
     * 设置焦点
     */
    public void setFocus() 
    {
        actioneditor.setFocus();
    }
}
